#[derive(Debug)]
pub struct AccountItem {
    pub item_type: String,
    pub amount: i32,
    pub detail: String,
}

impl AccountItem {
    pub fn new(item_type: String, amount: i32, detail: String) -> AccountItem {
        AccountItem {
            item_type,
            amount,
            detail,
        }
    }
}
